package com.csce.domain.entity.score;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.osce.common.annotation.Excel;
import com.osce.common.core.entity.BaseEntity;
import lombok.*;

import java.util.Date;

/**
 * 考试模版时间分段表对象 score_ex_model_time
 *
 * @author zzx
 * @since 2023-08-22
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
@EqualsAndHashCode(callSuper = true)
public class ScoreExModelTime extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 模版编号
     */
    @Excel(name = "模版编号")
    private Long modelId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date startTime;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private Date endTime;
}
